/*headerTop部分css样式*/
.headerTop {
  background: #f2f2f2;
  font-size: 12px;
  height: 30px;
}

.content {
  width: 1000px;
  margin: 0 auto;
}

.headerTop {
  line-height: 30px;
  text-align: center;
  .topLeft {
    float: left;
    li {
      padding: 0 10px;
      height: 30px;
      float: left;
      color: #000;
    }
    li a:hover {
      color: #ff0000;
    }
    li:nth-of-type(2) {
      padding-left: 0;
      a {
        color: #ff0000;
        padding-left: 0;
      }
    }
    li:nth-of-type(1) {
      padding: 0;
      img {
        margin-top: 3px;
      }
    }
  }
  .topRight {
    float: right;
    margin-right: 80px;
    li {
      padding-left: 20px;
      height: 30px;
      float: left;
    }
    li:nth-of-type(3) {
      position: relative;
      .code {
        position: absolute;
        left: -10px;
        display: none;
        width: 100px;
        border: 2px solid #f2f2f2;
        img {
          width: 100%;
        }
        p {
          line-height: 25px;
          text-align: center;
          background: #fff;
        }
      }
      a:hover {
        color: #ff0000;
      }
      a:hover + .code {
        display: block;
      }
    }
    li:nth-of-type(5) {
      width: 30px;
      height: 30px;
      a {
        overflow: hidden;
        display: block;
        width: 100%;
        height: 100%;
        text-indent: -200%;
        background: url("../../img/base_z.png") no-repeat -600px -323px;
      }
    }
  }
  a {
    color: #000;
  }
}

/* logo部分样式 */
#logo {
  height: 90px;
  .content {
    height: 100%;
    div {
      height: 100%;
    }
    a {
      display: block;
      height: 100%;
      width: 205px;
      float: left;
    }
    .logo_main {
      width: 205px;
      background: url("../../img/base_z.png") no-repeat -853px -295px;
      text-indent: -100%;
    }
    .logo_small {
      width: 151px;
      background: url("../../img/base_z.png") no-repeat -889px -74px;
    }
  }
}

/*导航条样式*/
#nav {
  height: 42px;
  background: #000;
  line-height: 42px;
  z-index: 20;
  .nav_left {
    height: 42px;
    float: left;
    li {
      position: relative;
      margin-right: 50px;
      line-height: 42px;
      float: left;
      .pop_up {
        position: absolute;
        display: none;
        left: 0;
        width: 630px;
        box-shadow: 0px 2px 10px #ccc;
        z-index: 8;
        background: white;
        .submenu {
          float: left;
          width: 274px;
          padding: 0 20px 0 20px;
          .title {
            width: 100%;
            height: 44px;
            line-height: 44px;
            font-size: 14px;
            font-weight: bold;
            border-bottom: 1px solid #e7e7e7;
            text-align: left;
          }
          ul {
            margin-bottom: 20px;
            li {
              height: auto;
              margin-top: 10px;
              line-height: 15px;
              float: none;
              a {
                color: #666;
                font-size: 12px;
              }
              a:hover {
                color: red;
              }
            }
          }
          .more {
            width: 300px;
            height: auto;
            position: absolute;
            left: 0;
            bottom: -2px;
            text-align: right;
            a {
              color: #000;
              font-size: 12px;
            }
          }
        }
        .submenu:nth-of-type(1) {
          border-right: 1px solid #e7e7e7;
        }
      }
    }
    li:hover a {
      color: red;
    }
    a {
      color: white;
      display: block;
      height: 100%;
    }
  }
  .nav_right {
    float: right;
    margin-right: 15px;
    cursor: pointer;
    li {
      margin-left: 15px;
      float: left;
      color: white;
    }
    li:nth-child(1) {
      text-align: center;
      width: 23px;
      background: url("../../img/base_z.png") no-repeat -1017px -219px;
      font-size: 12px;
      color: #a8a8a8;
      position: relative;
      //overflow: hidden;
      .hid_goods{
        position: absolute;
        width: 300px;
        height:0;
        background:white;
        z-index:10;
        left:-150px;
        box-shadow: 0 0 10px #000;
        transition: all 0.5s;
        overflow: hidden;
        .goods_list{
          dl{
            border-bottom: 1px solid #ccc;
            margin:0 10px;
          }
          dl dt{
            width: 80px;
            float: left;
            height:100px;
            img{
              width: 50px;
              height: 70px;
              margin:15px;
              border: 1px solid #ccc;
            }
          }
          dl dd{
            width: 150px;
            float: left;
            height:100px;
            text-align: left;
            color:black;
            p{
              height:50px;
            }
            span{
              display: block;
              line-height:20px;
            }
            .remove{
              float:right;
            }
          }
        }
      }
    }
  }
}

/*banner部分样式*/
#banner {
  width: 100%;
  overflow: hidden;
  .swiper-container {
    text-align: center;
    width: 1800px;
    position: absolute;
    top: 161px;
    left: 50%;
    margin-left: -900px;
    z-index: 7;
    img {
      width: 100%;
      height: 100%;
    }
  }
  .swiper-pagination {
    bottom: 80px;
  }
  .swiper-button-prev {
    left: 380px;
  }
  .swiper-button-next {
    right: 380px;
  }
}

/*主体部分样式*/
#main {
  position: relative;
  z-index: 9;
  margin-top: 470px;
  margin-bottom: 20px;
  .content {
    background: white;
    width: 1020px;
    padding: 20px 0 20px 20px;
    h3 {
      font-size: 25px;
    }
    li {
      width: 318px;
      background: #f2f2f2;
      float: left;
      margin: 10px 20px 10px 0;
      position: relative;
      .scal {
        width: 320px;
        height: 190.5px;
        overflow: hidden;
        .shadow {
          width: 320px;
          height: 190px;
          background: rgba(0, 0, 0, 0.8);
          position: absolute;
          top: 0;
          display: none;
          z-index: 8;
        }
        img {
          transition: all 1s;
        }
        .hidd {
          width: 320px;
          height: 100px;
          position: absolute;
          z-index: 10;
          top: 80px;
          text-align: center;
          font-size: 12px;
          color: white;
          line-height: 20px;
          display: none;
        }
      }
      p {
        width: 300px;
        height: 40px;
        line-height: 40px;
        font-size: 12px;
        padding: 0 10px;
        span {
          color: #db2726;
          float: right;
          i {
            font-size: 16px
          }
        }
      }
      a {
        color: black;
      }
    }
    .bigLi {
      width: 320px;
      height: 485px;
      float: right;
    }
    .bigImg{
      width: 320px;
      height: 481px;
      float: left;
      background: url("../../img/bigImg.jpg") no-repeat 0 0;
    }
  }
}

/*活动即将开始*/
#activity {
  margin-bottom: 20px;
  .content {
    width: 1040px;
    h3 {
      font-size: 25px;
      float: left;
      margin-bottom: 20px;
    }
    p {
      float: right;
      line-height: 30px;
      span {
        color: red;
        font-size: 18px;
      }
    }
    .tab_top {
      li {
        margin: 0;
        border: 0;
        width: 90px;
        height: 20px;
        padding: 0;
        float: left;
        cursor: pointer;
        p {
          float: none;
          line-height: 14px;
          text-align: center;
          border-right: 1px solid black;
        }
      }

    }
    .tab_main {
      border: 0;
      margin-top: 20px;
      .coall {
        display: none;
        .theAct {
          width: 329px;
          height: 80px;
          float: left;
          overflow: hidden;
          margin-right: 20px;
          margin-bottom: 20px;
          border: 1px solid #e7e7e7;
          position: relative;
          background-color: #f2f2f2;
          position: relative;
          .bd{
            width: 331px;
            height: 80px;
            position: absolute;
            z-index: 10;
          }
          .button{
            z-index: 20;
            width: 100px;
            height: 28px;
            line-height: 28px;
            text-align: center;
            position: absolute;
            background: #db2726;
            left: 0;
            right: 0;
            top: 0;
            bottom: 0;
            margin:auto;
            color:white;
            display:none;
            a{
              display:inline-block;
              width: 30px;
              height: 20px;
              color:white;
            }
            span{
              margin:0 10px;
            }
          }
          .img {
            float: left;
            width: 155px;
            height: 100%;
          }
          .message {
            float: left;
            width: 169px;
            height: 70px;
            div {
              text-align: center;
              margin-top: 20px;
              font-size: 12px;
            }
            span {
              position: absolute;
              bottom: 10px;
              left: 160px;
              color: #db2726;
              font-size:12px;
              i {
                font-size: 16px;
              }
            }
          }

        }
        .theAct:nth-of-type(3n) {
          margin-right: 0;
        }
      }

    }
  }
}

/*aside侧边固定返回顶部*/
#aside {
  width: 98px;
  height: 300px;
  position: fixed;
  left: 50%;
  margin-left: 550px;
  bottom: 50px;
  overflow: hidden;
  z-index: 9997;
  text-align: center;
  background: transparent;
  font-size:12px;
  .top {
    overflow: hidden;
    background-color: #000;
    font-size: 14px;
    color: #fff;
    padding: 5px 0;
    span{
      color: red;
      font-size: 16px;
      letter-spacing: 2px;
      font-weight: bold;
    }
  }
  .erweima{
    border: 1px solid #ccc;
    overflow: hidden;
    margin: 0;
    background-color: #fff;
    padding: 5px 0;
    img{
      margin-bottom: 5px;
      display: inline-block;
    }
    span{
      display: block;
    }
  }
  .clickOn{
    height: 24px;
    overflow: hidden;
    background-color: #fff;
    border: 1px solid #ccc;
    border-top: 0;

    a{
      background:url("../../img/base_z.png") no-repeat -564px -428px;
      display: block;
      width: 100%;
      height: 24px;
      overflow: hidden;
      text-indent: -9999px;
    }
  }
}

#footer {
  background: #f2f2f2;
  .content {
    padding-top: 30px;
    .footer_top {
      margin-bottom: 20px;
      ul {
        li {
          width: 166px;
          height: 60px;
          float: left;
          a {
            display: block;
            width: 165px;
            height: 100%;
            text-align: center;
            color: #000;
            font-size: 12px;
            line-height: 95px;
            background: url("../../img/base_z.png") no-repeat;
            border-right: 1px solid black;
          }
          .last {
            border-right: 0;
          }
          .a1 {
            background-position: -153px -146px;
          }
          .a1:hover {
            background-position: -153px -264px;
          }
          .a2 {
            background-position: -543px -104px;
          }
          .a2:hover {
            background-position: -543px 7px;
          }
          .a3 {
            background-position: -150px -382px;
          }
          .a3:hover {
            background-position: -301px -229px;
          }
          .a4 {
            background-position: -419px 5px;
          }
          .a4:hover {
            background-position: -419px -107px;
          }
          .a5 {
            background-position: -301px -346px;
          }
          .a5:hover {
            background-position: -301px -459px;
          }
          .a6 {
            background-position: -301px -112px;
          }
          .a6:hover {
            background-position: -301px 5px;
          }
        }
      }
    }
    p {
      margin-bottom: 10px;
      text-align: center;
      font-size: 12px;
      a {
        margin: 0 12px;
        color: black;
      }
      span {
        text-align: center;
        margin-right: 20px;
        line-height: 20px;
        img {
          margin-left: 48%;
        }
      }
    }
  }

}
